/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.plk.obey.conf;


import org.springframework.context.annotation.Bean;
import za.ac.cput.plk.obey.services.internal.NameSearchService;


/**
 *
 * @author Abduraghmaan
 */
public class AppConfig {
    
    @Bean(name = "car")
    public NameSearchService car()
    {
        return new NameSearchService();
    }
    
    @Bean(name = "Driver")
    public NameSearchService driver()
    {
        return new NameSearchService();
    }
    
    
    
}
